//
//  YZDeathModel.m
//  VET
//
//  Created by YZ on 2018/7/23.
//  Copyright © 2018年 YZ. All rights reserved.
//

#import "YZDeathModel.h"
#import "NSDate+Category.h"

@implementation YZDeathModel

+(NSDictionary *)mj_replacedKeyFromPropertyName
{
    return @{
             @"rid":@"id",
             };
}

- (NSString *)gmtCreated
{
    NSDate *date = [NSDate dateWithTimeIntervalSince1970:_gmtCreated.integerValue];
    return [date localDateString];
}

- (NSString *)gmtModified
{
    NSDate *date = [NSDate dateWithTimeIntervalSince1970:_gmtModified.integerValue];
    return [date localDateString];
}
@end
